package cn.lf.dto.product;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author: linf
 * @create: 2024-04-03 23:34
 * @Description:
 */
@Data
@ApiModel("商品信息单个")
public class ProductRespDTO {
    private static final long serialVersionUID = -97741571493318304L;

    @ApiModelProperty("商品编码")
    private String pid;

    @ApiModelProperty("商品名称")
    private String productName;

    @ApiModelProperty("商品描述")
    private String description;

    @ApiModelProperty("商品图片")
    private String pic;

    @ApiModelProperty("商品状态")
    private String status;

    @ApiModelProperty("商品价格")
    private Double price;

    @ApiModelProperty("商品排序")
    private String sort;

    @ApiModelProperty("库存数量")
    private String inventoryQuantity;

    @ApiModelProperty("商品销量")
    private String salesVolume;

    @ApiModelProperty("是否上架")
    private String onSale;

    @ApiModelProperty("归属类型id")
    private String productTypeId;

    @ApiModelProperty("归属类型中文")
    private String productTypeStr;

    @ApiModelProperty("归属店铺id")
    private String shopId;

    @ApiModelProperty("归属店铺中文")
    private String shopStr;
}
